home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BlastDOS
/
pcANYWHERE 2.0.zip
/
Disk 1.IMA
/
NETUSER.IN$
/
NETUSER.INF
Wrap
INI File
|
1995-08-11
|
13KB
|
495 lines
; pcANYWHERE network user install script
[InstallVersion]
3.3
[WindowsVersion]
3.10
"pcANYWHERE for Windows requires"
"Windows version 3.1 or greater."
[process]
switch91 = IsWinVerGTE(0320) ;switch91=TRUE if Win 4.0
switch94=Exists(Files10) ;switch94=TRUE if version 1.0 host files exist
switch93=Exists(Files45) ;switch93=TRUE if version 4.5 host files exist
switch92=Exists(Files50) ;switch92=TRUE if version 5.0 host files exist
switch89=Exists(PcawIni) ;switch89=TRUE if pcaw.ini exists
switch88=FALSE ;switch88=TRUE if any pcAW VCD files exist
switch88=VerifyIni(awvcd)
#ifnot(switch88)
switch88=VerifyIni(aw_vcd)
#endif
#ifnot(switch88)
switch88=VerifyIni(aw5vcd)
#endif
NetUserInstall
#ifnot(switch91) ;!! chicago kludge - may solve lockup
Bitmaps(pix) ;display background bitmap
#endif
AllowIntlChars() ;allow international characters
backup(pcawinst) ;copy install dll to Windows directory
;setup the file information for copying
SetActiveCopy(PCAWorkstationCopy, netuser.inf)
Backup(SaveEmNet)
messagebox(InformAboutBackupNet)
ResetTarget(TargetSource)
DisableUtils()
copy() ;copy files
groups() ;setup groups
EnableUtils()
RemoveFromLoad(RemHost) ;remove load=winhost from win.ini in case it is old
DelFromIni(OldVxDs) ;delete old pcAW VxD files in system.ini
AddToIni(AWVXDS) ;add new VxDs to system.ini
DelFromIni(DelOldSymevent)
AddToIni(SYMEVENT) ;add device=symevnt.386 to system.ini
switch01 = VerifyIni(CheckNetHeapSize) ;if no NetHeapSize, set it to 24
#ifnot(switch01)
AddToIni(SetNetHeapSize)
#endif
switch01 = VerifyIni(TimeCriticalPresent) ;add TimerCriticalSection=500 if not set in system.ini
#ifnot(switch01)
AddToIni(TimeCriticalSection)
#endif
switch01 = VerifyIni(FindFontSection) ;add font section to pcaw.ini if not already there
#ifnot(switch01)
AddToIni(AddFontSection)
#endif
switch01 = VerifyIni(FindFontSection) ;add font section to pcaw.ini if not already there
#ifnot(switch01)
AddToIni(AddFontSection)
#endif
#if(switch88) ;if we removed an old pcAW VCD
switch01 = VerifyIni(VCDExists) ;restore original one if no other exists
#ifnot(switch01) ;if not,
switch02 = Exists(VCD386Exists) ;check if vcd.386 exists
#if(switch02)
AddToIni(AddVCD386) ;yes - use it
#else
AddToIni(AddVCD) ;no - use *vcd
#endif
#endif
#endif
;------------------------------------------------------------------------------------
;Restore the original video, keyboard, mouse, and sound drivers if upgrading
;from a previous version of pcAW
;------------------------------------------------------------------------------------
switch01 = Exists(PcawIni) ;check if pcaw.ini exists (it should - we created one)
#if(switch01)
switch02 = VerifyIni(MouseDriverSaved) ;check if a mouse driver was saved in pcaw.ini
#if(switch02)
switch03 = VerifyIni(MouseCheckOld) ;check if a pcAW mouse driver is in system.ini
#if(switch03)
CopyIni(MouseRestore) ;restore original mouse driver
#endif
#else ;no driver saved but may be a 4.5 install
switch03 = VerifyIni(MouseCheckOld) ;check if a pcAW mouse driver is in system.ini
#if(switch03)
UpdateIni(MouseRestore1) ;restore to mouse.drv and hope it's correct
#endif
#endif
switch02 = VerifyIni(KbdDriverSaved) ;check if a kbd driver was saved in pcaw.ini
#if(switch02)
switch03 = VerifyIni(KbdCheckOld) ;check if a pcAW kbd driver is in system.ini
#if(switch03)
CopyIni(KbdRestore) ;restore original keyboard driver
#endif
#endif
switch02 = VerifyIni(DisplayDriverSaved) ;check if a display driver was saved in pcaw.ini
#if(switch02)
switch03 = VerifyIni(DisplayCheckOld) ;check if a pcAW display driver is in system.ini
#if(switch03)
CopyIni(DisplayRestore) ;restore original display driver
#endif
#endif
switch02 = VerifyIni(SoundDriverSaved) ;check if a sound driver was saved in pcaw.ini
#if(switch02)
switch03 = VerifyIni(SoundCheckOld) ;check if a pcAW sound driver is in system.ini
#if(switch03)
CopyIni(SoundRestore) ;restore original sound driver
#endif
#endif
#endif
;Create [oldfiles] section in pcaw.ini and list files that the main program should
;delete the first time it is run.
AddToIni(Oldfiles)
#if(switch94)
AddToIni(DelOld10)
#endif
#if(switch93)
AddToIni(DelOld45)
#endif
#if(switch92)
AddToIni(DelOld50)
#endif
DelFromIni(Oldfiles)
switch85=Exists(CheckAuto) ;check if autoexec.bat exists
#if(switch85) ;if so,
ModifyTextFile(autoexec) ;remove old DOS TSR it.
#endif
Delete(InstallDLLs) ;remove install files
MergeRegFile(Reg) ;merge reg file
#if(switch91)
EndRebootOnly(ByeRestart)
#else
End(ByeNoReboot)
#endif
End()
;-----------------------------------------------------------------------
; Copy.
;-----------------------------------------------------------------------
[PCAWorkstationCopy]
CopyMain.BaseFiles, "pcANYWHERE - %ldK ", 100, Y, N, Y
[PCAWorkstationCopy:CopyDialog]
caption = "Copying pcANYWHERE Files..."
posx = -50
posy = -50
;----------------------------------------------------------------------------------
;-----------------------------------------------------------------------
; Groups.
;-----------------------------------------------------------------------
[groups]
"pcAnywhere", winaw.grp, DELETE
[pcAnywhere]
"pcAnywhere for Windows", winaw.exe, BaseFiles
"Remove pcAnywhere", "install.exe /u", BaseFiles
"Release Notes", readme.txt, BaseFiles
[ByeNoReboot]
caption = "pcANYWHERE -- Install Complete"
"This concludes the network workstation installation of pcANYWHERE for Windows."
" "
"Please review the README.TXT file for last minute changes and corrections to the documentation."
" "
"Select one of the exit options."
[ByeRestart]
caption = "pcANYWHERE -- Install Complete"
"This concludes the installation of pcANYWHERE for Windows."
" "
"Please review the README.TXT file for last minute changes and corrections to the documentation."
" "
[InformAboutBackupNet]
caption = "Startup Files"
"The following startup files (if they exist) have been backed up to files with the extension .PCA:"
" "
"AUTOEXEC.BAT, WIN.INI, SYSTEM.INI"
[errors]
noprev = "Symantec Install for Windows is already running!"
[FileCopy]
errorcaption = "Error Copying Files"
insertcaption = "Insert Diskette"
[cancel]
caption = "pcANYWHERE"
text = "Are you sure you want to exit?"
[cancelshell]
caption = "pcANYWHERE"
text = "Are you sure you want to exit?"
;-----------------------------------------------------------------------
[SaveEmNet]
system.ini, system.pca, WINDOWS, WINDOWS
win.ini, win.pca, WINDOWS, WINDOWS
c:\autoexec.bat, c:\autoexec.pca, dummy, dummy
[pcawinst]
awinst.dll, awinst.dll, SOURCE, WINDOWS
symkrnl5.dll, symkrnl5.dll, SOURCE, WINDOWS
[InstallDLLs]
AWINST.DLL, WINDOWS
WIN.$AW, WINDOWS
SYSTEM.$AW, WINDOWS
SIWDLL.DLL, WINDOWS
SIWZIP.DLL, WINDOWS
SIW3ZIP.DLL, WINDOWS
AWLPFUNC.DLL, WINDOWS
[RemHost]
winhost.exe
[OldVxDs]
IniName = system.ini
SectionName = 386Enh
device=*vpcaw.386*
device=*vpcaw5.386*
device=*awvcd.386*
device=*aw_vcd.386*
device=*aw5vcd.386*
device=*awdos.386*
[AWVXDS]
IniName = system.ini
SectionName = 386Enh
device = "awdos.386 ; Added by pcANYWHERE"
device = "vpcaw.386 ; Added by pcANYWHERE"
[DelOldSymevent]
IniName = system.ini
SectionName = 386Enh
devic